package ep.main;

import java.io.IOException;

import ep.io.BoardAntPrinter;
import ep.io.Reader;
import ep.logic.GodGubi;
import ep.model.Ant;
import ep.model.Board;

public class Main {
	public static void main(String[] args) throws IOException {
		Reader reader = new Reader(args);
		
		Board initialBoard = reader.getBoard();
		Ant z = reader.getZ();
		int iteractions = reader.getIteractions();
		int numberOfProcessors = reader.getNumberOfProcessors();
		
		// TODO imprimindo para testar
		//new BoardAntPrinter().print(initialBoard, z);
		GodGubi gubi = new GodGubi(initialBoard, z, iteractions, numberOfProcessors);
		gubi.playGame();
	}
}
